<?php
class Home extends CI_Controller
{
	public function __construct()
	{
		parent::__construct();
		if (!$this->session->userdata('logged_in'))
		{
			redirect(base_url(), 'refresh');
		}
	}
	
	public function index()
	{
		$this->load->view('common/header');
		$this->load->view('common/menu');
		$this->load->view('home');
		$this->load->view('common/footer');
	}
}